<?php
include_once('common/header.php');	
if($AppUI->id <= 0 || !isset($_SERVER['HTTP_REFERER'])) {	
	Vfriend_Function::redirect(HOST_VFRIEND);
}
$intCoverId	= $objRequest->getParam('cid',0);
if($intCoverId) {
	$objCover 	= new Cover();
	$objCover->insertUcover($AppUI->id, $intCoverId);
}
Vfriend_Function::setMsg($arrMessage[19]);
Vfriend_Function::redirect($_SERVER['HTTP_REFERER']);
?>